package com.boot.ys.mybatisplus.mapper;

import com.boot.ys.mybatisplus.entity.Caidan;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.boot.ys.mybatisplus.entity.dto.CaiDanDto;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Yang Sheng
 * @since 2022-08-04
 */
public interface CaidanMapper extends BaseMapper<Caidan> {

    List<Caidan> getTree(@Param("id") Integer id);

    List<CaiDanDto> selectListD();

}
